package pojo;

public class Page {
    private String cid;
    private boolean navpass = false;
    private boolean forwardpass = false;
    private boolean backwardpass = false;
    private int page;
    private int pageassert;
    private boolean pass = false;

    public Page() {
    }

    public Page(String cid, boolean navpass, boolean forwardpass, boolean backwardpass, int page, int pageassert, boolean pass) {
        this.cid = cid;
        this.navpass = navpass;
        this.forwardpass = forwardpass;
        this.backwardpass = backwardpass;
        this.page = page;
        this.pageassert = pageassert;
        this.pass = pass;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public boolean isNavpass() {
        return navpass;
    }

    public void setNavpass(boolean navpass) {
        this.navpass = navpass;
    }

    public boolean isForwardpass() {
        return forwardpass;
    }

    public void setForwardpass(boolean forwardpass) {
        this.forwardpass = forwardpass;
    }

    public boolean isBackwardpass() {
        return backwardpass;
    }

    public void setBackwardpass(boolean backwardpass) {
        this.backwardpass = backwardpass;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageassert() {
        return pageassert;
    }

    public void setPageassert(int pageassert) {
        this.pageassert = pageassert;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }

    @Override
    public String toString() {
        return "Page{" +
                "cid='" + cid + '\'' +
                ", navpass=" + navpass +
                ", forwardpass=" + forwardpass +
                ", backwardpass=" + backwardpass +
                ", page=" + page +
                ", pageassert=" + pageassert +
                ", pass=" + pass +
                '}';
    }
}
